<?php
	require '../utils/conn.php';
	
	$mlId = $_REQUEST['mlId'];
	$title = $_REQUEST['title'];
	$timestamp = time();
	
	$query = "UPDATE t_machine_list SET title='$title', timestamp='$timestamp' WHERE ml_id=".$mlId;
	$result = mysql_query($query) or die("update failed：". mysql_error());
	
?>